import Vue from 'vue'
import App from './App.vue'
import router from './router'

import HouseList from '@/components/HouseList.vue'
import { Button, Tabbar, TabbarItem, Form, Field, NavBar, Toast, Cell, List, Grid, GridItem, Icon, Dialog } from 'vant'

Vue.use(Dialog)
Vue.use(Icon)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(List)
Vue.use(Cell)
Vue.use(Toast)
Vue.use(NavBar)
Vue.use(Form)
Vue.use(Field)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Button)

Vue.component('HouseList', HouseList)
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
